UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Users and scripts running on behalf of users must be contained to the document root or home directory tree of the web server.


Overview

Finding ID Version Rule ID IA Controls Severity
V-41704 SRG-APP-000141-WSR-000087 SV-54281r2_rule Medium
Description
A web server is designed to deliver content and execute scripts or applications on the request of a client or user. Containing user requests to files in the directory tree of the hosted web application and limiting the execution of scripts and applications guarantees that the user is not accessing information protected outside the application's realm. The web server must also prohibit users from jumping outside the hosted application directory tree through access to the user's home directory, symbolic links or shortcuts, or through search paths for missing files.
STIG Date
Web Server Security Requirements Guide 2014-11-17

Details

Check Text ( C-48101r3_chk )
Review the web server documentation and configuration to determine where the document root or home directory for each application hosted by the web server is located.

Verify that users of the web server applications, and any scripts running on the user's behalf, are contained to each application's domain.

If users of the web server applications, and any scripts running on the user's behalf, are not contained, this is a finding.
Fix Text (F-47163r2_fix)
Configure the web server to contain users and scripts to each hosted application's domain.